/***************************************************************
 * Name:      MortApp.cpp
 * Purpose:   Code for Application Class
 * Author:    Eusebio Aguilera (eusebio.aguilera@gmail.com)
 * Created:   2011-11-23
 * Copyright: Eusebio Aguilera (http://code.google.com/p/mort/)
 * License:
 **************************************************************/

#include "MortApp.h"

//(*AppHeaders
#include "MortMain.h"
#include <wx/image.h>
//*)

IMPLEMENT_APP(MortApp);

bool MortApp::OnInit()
{
    //(*AppInitialize
    bool wxsOK = true;
    wxInitAllImageHandlers();
    if ( wxsOK )
    {
    	MortFrame* Frame = new MortFrame(0);
    	Frame->Show();
    	SetTopWindow(Frame);
    }
    //*)
    return wxsOK;

}
